package com.example.itces.service;

import com.example.itces.domain.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {

    User findByUsername(String username);

    int UserRegister(User user);

    Boolean selectByName(String username);

    PageInfo<User> getAllUser(int pageNum, int pageSize);

    Boolean delUserById(int id);

    Boolean updateUserById(User user);

    Boolean addUser(User user);
}
